<!DOCTYPE html>
<html>
<head>
	<title>批量任务日志维护页面</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript">
	    var path = window.document.location.href;
		var pathName = window.document.location.pathname;
		var hostPath = path.substring(0, path.indexOf(pathName));
		var projectName = pathName.substring(0, pathName.substr(1).indexOf("/") + 1);
		document.write('<scr' + 'ipt src="' + projectName + '/js/html/header.js"></scr'+'ipt>');
    </script>
</head>
<body>
	<table id="dg" style="width: auto; height: auto" fitColumns="true">
		<thead>
			<tr>
				<th field="jobno" width="20"  align="right"
					data-options="
					sortable:true,
					remoteSort:false"
					>任务号</th>
				<th field="jobName" width="60"  align="right"
					data-options="
					sortable:true,
					remoteSort:false"
					>任务名称</th>
				<th field="processFunction" width="100"  align="right"
					data-options="
					sortable:true,
					remoteSort:false"
					>执行函数</th>
				<th field="excuteTime" width="40"  align="right"
					data-options="
					sortable:true,
					remoteSort:false"
					>执行时间</th>
				<th field="excuteResult" width="60"  align="right"
					data-options="
					sortable:true,
					remoteSort:false"
					>执行结果</th>
				<th field="excuteNode" width="40"  align="right"
					data-options="
					sortable:true,
					remoteSort:false"
					>执行节点</th>
				<th field="exceptionMsg" width="40"  align="right"
					data-options="
					sortable:true,
					remoteSort:false"
					>异常信息</th>
				<th field="remark" width="100"  align="right"
					data-options="
					sortable:true,
					remoteSort:false"
					>备注</th>
			</tr>
		</thead>
	</table>
	<div id="dg-buttons" style="height: auto">
		<div>
			<span>任务编号:</span>
			<input id="jobNo" type="text" name="jobNo" class="easyui-validatebox" value="" size=10></input>
			<span>任务说明:</span>
			<input id="jobDesc" type="text" name="jobDesc" class="easyui-validatebox" value="" size=10></input>
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="dgop.find()">查询</a>
		</div>
	</div>

	<script>
		var initd = {
			queryDataURL : "/system/job/log/query",//查询URL
			dg : $('#dg'),
			dataDicList:{'2':['runtime'],'STATUS':['jobStatus'],'JobResult':['excuteResult']}
		};

	</script>
</body>
</html>

